/*
 * @Author: yangni 920556271@qq.com
 * @Date: 2023-12-07 09:26:03
 * @LastEditors: yangni 920556271@qq.com
 * @LastEditTime: 2024-01-09 09:36:24
 * @FilePath: /yt-devops/lib/model/device_obj/spec/array_spec.dart
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import 'package:json_annotation/json_annotation.dart';
import 'package:yt_devops/model/data_type_config.dart';

part 'arrays_spec.g.dart';

@JsonSerializable()
class ArraysSpec {
  int? size;
  DataTypeConfig? item;
  String? aliseRule;

  ArraysSpec({this.size, this.item, this.aliseRule});

  factory ArraysSpec.fromJson(Map<String, dynamic> json) =>
      _$ArraysSpecFromJson(json);

  Map<String, dynamic> toJson() => _$ArraysSpecToJson(this);
}
